<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="/Static/Css/reset.css" />
<link rel="stylesheet" type="text/css" href="/Static/Css/zh-cn-system.css" />
<link rel="stylesheet" type="text/css" href="/Static/Css/table_form.css" />
<script src="/Public/js/jquery.min.js"></script>
<script src="/Public/js/jquery.form.js"></script>
<script src="/Public/js/main.js"></script>
<script type="text/javascript" src="/Public/artDialog/jquery.artDialog.js?skin=default"></script>
<script type="text/javascript" src="/Public/artDialog/plugins/iframeTools.js"></script>
</head>
<body>

<script type="text/javascript" src="/Public/step-jquery-dc/step-jquery-dc.js"></script>
<link rel="stylesheet" href="/Public/step-jquery-dc/css/step-dc-style1.css" />

<form name="myform" id="myform" method="POST" action=""  enctype="multipart/form-data">
  <table class="table_form" width="100%" cellspacing="0">
      <tbody>
        <tr>
          <th width="100">请选择导入文件：</th>
          <td><input type="file" name="file"></td>
        </tr>
        <tr class="">
          <td colspan="2">&nbsp;</td>
        </tr>

        <tr class="">
          <td colspan="2">以下信息需要对应系统分类：<span class="red">（意向级别、详细级别、课程项目、咨询方式、合作方</span> ）</td>
        </tr>
        <tr>
          <th width="100">参考模版文件：</th>
          <td><a href="/template.xls" class="red">点击下载</a></td>
        </tr>
      </tbody>
    </table>
  <input type="submit" value="提交" class="dialog" id="dosubmit">
</form>
</body>
</html>
<script type="text/javascript" src="/Public/ueditor/ueditor.config.js"></script>	<!--ueditor编辑器-->
<script type="text/javascript" src="/Public/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript" src="/Public/My97DatePicker/WdatePicker.js"></script>

<script type="text/javascript">
$(function(){
	$('#myform').ajaxForm({
		beforeSubmit:  checkForm,
		success:       complete,
		dataType: 'json'
	});
	function checkForm(){
		return true;
	}

	var origin = $.artDialog.open.origin;

    function complete(data){
    	msg(data.info,data.status);
		  if(data.status==1){
        setTimeout(function(){origin.location.reload();},1000);
      }
    }

})
</script>